#!/bin/sh

CurrentMouthDay=`date +%Y-%m-01`
Today=`date +%Y-%m-%d`
Lastday=`date -d 'last day' +%Y-%m-%d`
LastMouthStartDay=`date -d "$CurrentMouthDay last month" +%Y-%m-%d`
LastMouthEndDay=`date -d "$CurrentMouthDay last day" +%Y-%m-%d`

LastMouthStartDayToNum=`echo $LastMouthStartDay|sed 's/-//g'`
LastMouthEndDayToNum=`echo $LastMouthEndDay|sed 's/-//g'`

CurrentMouthStartDay=`echo $CurrentMouthDay|sed 's/-//g'`
CurrentEndDay=`echo $Today|sed 's/-//g'`

DiffDays=`expr $LastMouthEndDayToNum - $LastMouthStartDayToNum + 1`
CurrentDiffDays=`expr $CurrentEndDay - $CurrentMouthStartDay + 1`

P95th30=$(echo "scale=0;$[$DiffDays*24*12*5]/100" | bc) 
P95th=$(echo "scale=0;$[$CurrentDiffDays*24*12*5]/100" | bc) 

echo $LastMouthStartDayToNum-$LastMouthEndDayToNum "Total":$DiffDays "days" "P95":$P95th30
echo $CurrentEndDay-$CurrentMouthStartDay "Total":$CurrentDiffDays "days" "P95":$P95th
#客户端口
dianlian_dir="/var/www/traffic/test/dianlian"
cqt_dir="/var/www/traffic/test/cqt"
yunduancmcc_dir="/var/www/traffic/test/yunduancmcc"
yunduancucc_dir="/var/www/traffic/test/yunduancucc"
yundi_dir="/var/www/traffic/test/yundi"
guangtong_dir="/var/www/traffic/test/guangtong"
ddos40_dir="/var/www/traffic/test/ddos40"
ddos800_dir="/var/www/traffic/test/ddos800"
thyc_dir="/var/www/traffic/test/thyc"
yuntu_dir="/var/www/traffic/test/yuntu"
tiandi_dir="/var/www/traffic/test/tiandi"

chengdu_dir="/var/www/traffic/test/chengdu"
xipu_dir="/var/www/traffic/test/xipu"
baishan16p_dir="/var/www/traffic/test/baishan/16"
baishan4old_dir="/var/www/traffic/test/baishan/4old"
baishan4new_dir="/var/www/traffic/test/baishan/4new"
baishan4city_dir="/var/www/traffic/test/baishan/4city"


sql_usr="root"
sql_pwd="123456"
sql_db="traffic"

next() {
    printf "%-80s\n" "-" | sed 's/\s/-/g'
}

get_chengdu(){
    for i in `cat /var/www/traffic/test/chengdu_id |awk '{print $1}'`
    do
	    mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP BY Trafficin desc limit 1"|sed -n '2p'>${chengdu_dir}/${i}_port.max
	    mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$CurrentMouthDay' and date < '$Today' GROUP BY Trafficin desc limit ${P95th},1" |sed -n '2p'>${chengdu_dir}/${i}_port.95
    done
}

get_xipu(){
    for i in `cat /var/www/traffic/test/xipu_id |awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${xipu_dir}/${i}_port.max
    done
}

get_baishan16p(){
    for i in `cat /var/www/traffic/test/baishan_id |sed -n "1,16p" |awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${baishan16p_dir}/${i}_port.max
    done
}

get_baishan4new(){
    for i in `cat /var/www/traffic/test/baishan_id |sed -n "28,31p" |awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${baishan4new_dir}/${i}_port.max
    done
}

get_baishan4old(){
    for i in `cat /var/www/traffic/test/baishan_id |sed -n "18,21p" |awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${baishan4old_dir}/${i}_port.max
    done
}

get_baishan4city(){
    for i in `cat /var/www/traffic/test/baishan_id |sed -n "23,26p" |awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${baishan4city_dir}/${i}_port.max
    done
}

get_dianlian(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "电联"|awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${dianlian_dir}/${i}_port.max
    done
}
get_chengqitong(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "承启通"|awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${cqt_dir}/${i}_port.max
    done
}

get_yunduancmcc(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "云端"|awk '{print $1}'|sed -n '1,2p'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${yunduancmcc_dir}/${i}_port.max
    done
}
get_yunduancucc(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "云端"|awk '{print $1}'|sed -n '3p'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${yunduancucc_dir}/${i}_port.max
    done
}

get_yundi(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "云堤"|awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${yundi_dir}/${i}_port.max
    done
}

get_guangtong(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "光通"|awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${guangtong_dir}/${i}_port.max
    done
}
get_ddos40(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "ddos-光通40"|awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${ddos40_dir}/${i}_port.max
    done
}
get_ddos800(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "ddos-光通800"|awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${ddos800_dir}/${i}_port.max
    done
}

get_thyc(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "天合高防"|awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${thyc_dir}/${i}_port.max
    done
}

get_yuntu(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "云图"|awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${yuntu_dir}/${i}_port.max
    done
}

get_tiandi(){
    for i in `cat /var/www/traffic/test/xa_pid |grep "天地祥云"|awk '{print $1}'`
    do
        mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "select round(in_bits/1024/1024,2) as Trafficin from core_trafficlog where port_id=${i} and  date >='$Lastday' and date < '$Today' GROUP   BY Trafficin desc limit 1"|sed -n '2p'>${tiandi_dir}/${i}_port.max
    done
}

xipu_port=`cat /var/www/traffic/test/xipu_id |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
xipu24=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits)   AS  out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN                   ($xipu_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`

chengdu_port=`cat /var/www/traffic/test/chengdu_id |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
chengdu20=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits)   AS out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN                ($chengdu_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`


baishan16_port=`cat /var/www/traffic/test/baishan_id |sed -n "1,16p" |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
baishanbaoji16=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits)   AS     out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN ($baishan16_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`

baishan4_port=`cat /var/www/traffic/test/baishan_id |sed -n "18,21p" |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
baishanbaoji4=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits) AS out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id   IN ($baishan4_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`

baishan4new_port=`cat /var/www/traffic/test/baishan_id |sed -n "28,31p" |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
baishanbaoji4new=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits) AS out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN ($baishan4new_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`

baishan4city_port=`cat /var/www/traffic/test/baishan_id |sed -n "23,26p" |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
baishanbaoji4city=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits) AS out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN ($baishan4city_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`

baishanweinan_port=`cat /var/www/traffic/test/baishanweinan_id |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
baishanweinan22=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits) AS out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN ($baishanweinan_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`

baishanchengdu_port=`cat /var/www/traffic/test/baishanchengdu_id |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
baishanchengdu20=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits) AS out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN ($baishanchengdu_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`






jinshanctcc16_port=`cat /var/www/traffic/test/jinxun_id |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
jinshanctcc16=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits)   AS out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN                ($jinshanctcc16_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`

jinshanbaoji_port=`cat /var/www/traffic/test/xa_pid |grep "金迅-宝鸡"  |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
jinshanbaoji=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits) AS out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN ($jinshanbaoji_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`

echo $jinshanbaoji


wangsu4_port=`cat /var/www/traffic/test/xa_pid |grep "网宿" |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
wangsu4p1_max=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits) AS out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN ($wangsu4_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`


wangsu2_port=`cat /var/www/traffic/test/xa_pid |grep "网宿-西安bgp" |awk '{print $1}' |tr "\n" ","|sed -e 's/,$/\n/'`
wangsu2p1_max=`mysql -u$sql_usr -p$sql_pwd -B $sql_db -e "SELECT in_bits FROM (SELECT core_trafficlog.date AS Col1, SUM(core_trafficlog.in_bits) AS in_bits, SUM(core_trafficlog.out_bits) AS out_bits FROM core_trafficlog WHERE (core_trafficlog.isvalid = 1 AND core_trafficlog.date >= '$Lastday' AND core_trafficlog.date < '$Today' AND core_trafficlog.port_id IN ($wangsu2_port)) GROUP BY core_trafficlog.date ORDER BY NULL) subquery ORDER BY in_bits desc limit 1" |sed -n '2p'`



next

#95求和
#ChengDu_95=`awk '{sum += $1};END {print sum/1000}' $chengdu_dir/*.95`

#最大值求和
dianlian_max=`awk '{sum += $1};END {print sum/1}' $dianlian_dir/*.max`
cqt7_max=`awk '{sum += $1};END {print sum/1000}' $cqt_dir/*.max`
cqt_max=$(echo "scale=2;$cqt7_max/1" |bc)
yunduancmcc1_max=`awk '{sum += $1};END {print sum/1000}' $yunduancmcc_dir/*.max`
yunduancmcc_max=$(echo "scale=2;$yunduancmcc1_max/1" |bc)
yunduancucc1_max=`awk '{sum += $1};END {print sum/1}' $yunduancucc_dir/*.max`
yunduancucc_max=$(echo "scale=2;$yunduancucc1_max/1" |bc)
yunduancucc_max=$(echo "scale=2;$yunduancucc1_max/1" |bc)
yundi_max=`awk '{sum += $1};END {print sum/1}' $yundi_dir/*.max`
guangtong_max=`awk '{sum += $1};END {print sum/1}' $guangtong_dir/*.max`
ddos800_max=`awk '{sum += $1};END {print sum/1}' $ddos40_dir/*.max`
ddos40_max=`awk '{sum += $1};END {print sum/1}' $ddos800_dir/*.max`
thyc1_max=`awk '{sum += $1};END {print sum/1}' $thyc_dir/*.max`
thyc_max=$(echo "scale=2;$thyc1_max/1000" |bc)
yuntu_max=`awk '{sum += $1};END {print sum/1}' $yuntu_dir/*.max`
tiandi1_max=`awk '{sum += $1};END {print sum/1000}' $tiandi_dir/*.max`
tiandi_max=$(echo "scale=2;$tiandi1_max/1" |bc)

#bits单位转换
xipu_max=$(echo "scale=2;$xipu24/1000000000" |bc)
chengdu_max=$(echo "scale=2;$chengdu20/1000000000" |bc)
baishanbaoji16_max=$(echo "scale=2;$baishanbaoji16/1000000000" |bc)
baishanbaoji4_max=$(echo "scale=2;$baishanbaoji4/1000000000" |bc)
baishanbaoji4new_max=$(echo "scale=2;$baishanbaoji4new/1000000000" |bc)
baishanbaoji4city_max=$(echo "scale=2;$baishanbaoji4city/1000000000" |bc)
baishanweinan_max=$(echo "scale=2;$baishanweinan22/1000000000" |bc)
baishanchengdu_max=$(echo "scale=2;$baishanchengdu20/1000000000" |bc)


jinshanctcc16_max=$(echo "scale=2;$jinshanctcc16/1000000000" |bc)
jinshanbaoji_max=$(echo "scale=2;$jinshanbaoji/1000000" |bc)
wangsu4p_max=$(echo "scale=2;$wangsu4p1_max/1000000000" |bc)
wangsu2p_max=$(echo "scale=2;$wangsu2p1_max/1000000000" |bc)
###分割线
#baishan4city_max=`awk '{sum += $1};END {print sum/1000}' $baishan4city_dir/*.max`
#city4_max=$(echo "scale=2;$baishan4city_max/1" |bc)

next

echo "西安电信电联昨日最大值:${dianlian_max}M" 
next
echo "西安电信承启通昨日最大值:${cqt_max}G" 
next
echo "西安云端移动昨日最大值:${yunduancmcc_max}G" 
next
echo "西安云端联通昨日最大值:${yunduancucc_max}M" 
next
echo "西安云堤联通昨日最大值:${yundi_max}M" 
next
echo "西安电信光通昨日最大值:${guangtong_max}M" 
next
echo "西安电信光通40G昨日最大值:${ddos40_max}M" 
next
echo "西安电信光通800G昨日最大值:${ddos800_max}M" 
next
echo "西安电信天合高防昨日最大值:${thyc_max}G" 
next
echo "西安电信云图昨日最大值:${yuntu_max}M" 
next
echo "西安电信天地昨日最大值:${tiandi_max}G" 
next
echo "西安电信金山昨日最大值:${jinshanctcc16_max}G"
next
echo "宝鸡联通金山昨日最大值:${jinshanbaoji_max}G"
next
echo "宝鸡联通网宿昨日最大值:${wangsu4p_max}G" 
next
echo "网宿BGP昨日最大值:${wangsu2p_max}G" 
next
echo "宝鸡电信西普昨天最大值:${xipu_max}G" 
next
echo "宝鸡电信成都昨日最大值:${chengdu_max}G" 
next
echo "宝鸡电信白山16p最大值:${baishanbaoji16_max}G" 
next
echo "宝鸡电信白山4old最大值:${baishanbaoji4_max}G" 
next
echo "宝鸡电信白山4new最大值:${baishanbaoji4new_max}G" 
next
echo "宝鸡电信白山4city最大值:${baishanbaoji4city_max}G" 
next
echo "渭南电信白山最大值:${baishanweinan_max}G" 
next
echo "成都电信白山最大值:${baishanchengdu_max}G" 
next
